package com.warren.config;

import lombok.Data;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

/**
 * @version V1.0
 * @Description:
 * @author: warren
 * @date: 2022/7/13$ 22:37$
 */
@Service
@Data
public class MyBean {
    public String name;

    @Bean
    public MyBean getMyBean() {
        return new MyBean();
    }
}
